package com.uchiha.nova.core.feign;

import com.uchiha.nova.core.model.LogApi;
import com.uchiha.nova.core.model.LogError;
import com.uchiha.nova.core.model.LogUsual;
import com.uchiha.nova.core.tool.api.R;

import org.springframework.stereotype.Service;

/**
 * @author 周林静
 * @Date 2022-12-31,0031 17:02
 * @Version 1.0
 */
@Service
public class LogFeignFallback implements ILogClient{
    @Override
    public R<Boolean> saveUsualLog(LogUsual log) {
        return R.success("兜底数据");
    }

    @Override
    public R<Boolean> saveApiLog(LogApi log) {
        return R.success("兜底数据");
    }

    @Override
    public R<Boolean> saveErrorLog(LogError log) {
        return R.success("兜底数据");
    }
}
